package com.tem.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分公司 分店
 * </p>
 *
 * @author 腾木
 * @since 2023-11-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_branch_office")
@ApiModel(value="SysBranchOffice对象", description="分公司 分店")
public class SysBranchOffice implements Serializable {
    private static final long serialVersionUID=3458780981L;
    @ApiModelProperty(value = "分公司")
    @TableId(value = "sys_branch_office_id", type = IdType.AUTO)
    private Long sysBranchOfficeId;

    @ApiModelProperty(value = "企业")
    @TableField("sys_company_id")
    private Long sysCompanyId;

    @ApiModelProperty(value = "默认系统")
    @TableField("default_system_level_id")
    private Long defaultSystemLevelId;

    @ApiModelProperty(value = "编码")
    @TableField("office_no")
    private String officeNo;

    @ApiModelProperty(value = "所属区域")
    @TableField("region_path")
    private String regionPath;

    @ApiModelProperty(value = "详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty(value = "负责人")
    @TableField("boss_name")
    private String bossName;

    @ApiModelProperty(value = "电话")
    @TableField("telephone")
    private String telephone;

    @ApiModelProperty(value = "名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "序号")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "状态")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "备注")
    @TableField("msg")
    private String msg;

    @TableField("deleted")
    @TableLogic
    private Integer deleted;
}